from symbide import PATHS
from pylab import savefig
from symbide.src.utils import createUniquePath
    
def toxml():
    p = createUniquePath(PATHS['temp_pictures'], 'matplot')
    savefig(p)
    return '<img src="%s"/>'%p